﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Zxb.DayWork.Core;
using Zxb.OneTimeWork;

namespace Zxb.DayWork.Test
{
    class Program
    {
        //static void Main(string[] args)
        //{

        //    //Zxb.DayWork.Logic.HomeWorkUpdateHitsWorker h = new Zxb.DayWork.Logic.HomeWorkUpdateHitsWorker();
        //    //h.Run();

        //    ////楼盘基本信息导入 增量
        //    //BatchLoopWorkerTest.RunTest();

        //    //BatchWorkerTest.RunTest();

        //    //CaseModel.InsertTest();
        //    //CasePicModel.InsertTest();
        //    //FakeCaseWorker fc = new FakeCaseWorker();
        //    //fc.Run();


        //    //Console.WriteLine("start...");
        //    //Console.ReadLine();
            
        //    //Console.WriteLine("end");

        //    //OneTimeWorkTest.HitMigrationTest();

        //    //ReflectionTest.Test();

        //    //string urlFormat = System.Configuration.ConfigurationManager.AppSettings["bbs_statProj4Home"];
        //    //string url = string.Format(urlFormat, "bbs.hrb.soufun.com", "1910497065");
        //    //System.Data.DataTable tmpdt = Zxb.DayWork.Logic.Net.GetDTFromUrl(url);

        //    try
        //    {
        //        //Zxb.DayWork.Logic.Logger.InfoLog.Info("test log4net...");

        //        //ImportEstateTest.ImportEstatesTest();

        //        //ImportEstateTest.GetLastIDTest();

        //        //ImportEstateTest.AutoImportTest();

        //        //EstateWorkerTest.BulkMoveTest();

        //        //EstateWorkerTest.DayUpdateTest();

        //        //EstateManagerTest.AutoImportTest();

        //        //EstateManagerTest.AutoUpdateTest();


        //        //Console.WriteLine("start");
        //        //Console.ReadLine();
        //        //Zxb.DayWork.Logic.HomeWorkUpdateHitsWorker hwuhw = new Zxb.DayWork.Logic.HomeWorkUpdateHitsWorker();
        //        //hwuhw.Run();
        //        //Console.ReadLine();
        //    }
        //    catch (Exception ex)
        //    {
        //        Logger.InfoLog.Error(ex.Message);
        //        Console.WriteLine(ex.Message);
        //    }

        //    Console.ReadLine();

        //}
    }
}
